import BaseModel from './LogBaseModel'
import API from '@/api/apis'

class LogWebProcessModel extends BaseModel{

  constructor() {
    super()
    /**
     * 默认标记
     */
    this.defaultTag = null
    /**
     * 路由名称
     */
    this.routerName = null
    /**
     * 路由参数
     */
    this.routerParams = null
    /**
     * 路由路径
     */
    this.routerPath = null
    /**
     * 路由url参数
     */
    this.routerQuery = null
    /**
     * 设备型号
     */
    this.userAgent = null
    /**
     * 用户名
     */
    this.userName = null

    /**
     * 删除单个数据的URL
     */
    this.removeOneUrl = API.logs.webProcessRemoveOne
  }
}

/**
 * 列表加载URL
 * @type {String}
 */
LogWebProcessModel.listUrl = API.logs.webProcessList
/**
 * 删除所有数据的URL
 * @type {String}
 */
LogWebProcessModel.removeAllUrl = API.logs.webProcessRemoveAll

export default LogWebProcessModel
